package model

import (
	"cftgo/cftc"
)

type AidBindAccount struct {
	Aid         cftc.EntityId `gorm:"column:aid;comment:aid"`
	AppId       int32         `gorm:"primaryKey;column:app_id;comment:app_id"`
	PlatId      int32         `gorm:"primaryKey;column:plat_id;comment:plat_id"`
	PlatOpenId  string        `gorm:"primaryKey;column:plat_openid;comment:plat_openid"`
	PlatUnionId *string       `gorm:"column:plat_unionid;comment:plat_unionid"`
	CreatedAt   int64         `gorm:"column:created_at;comment:创建时间"`
	UpdatedAt   int64         `gorm:"column:updated_at;comment:更新时间"`
}

func (this AidBindAccount) TableName() string {
	return "t_aid_bind_account"
}
